package com.own.business.creditbank.config;

import com.own.constant.ConstantValue;
import lombok.Data;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * CreditBankProperties
 *
 * @author chenxueli
 * @date 2022-08-05 09:49:00
 */
@Data
@SpringBootConfiguration
@ConfigurationProperties(prefix = CreditBankProperties.PREFIX)
@SuppressWarnings("all")
public class CreditBankProperties {

    public static final String PREFIX = ConstantValue.CONFIG_VALUE_CONTENT + "credit-bank";

    /**
     * 请求的host
     */
    private String host;

    /**
     * key
     */
    private String key;

    /**
     * secret
     */
    private String secret;

}
